package com.liuwei.spring.cloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

//@EnableDiscoveryClient
//@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableFeignClients(basePackages = {"com.liuwei.spring.cloud"})
@MapperScan("com.liuwei.spring.cloud.biz.repository.db.mapper")
@SpringBootApplication
public class MyApplication {
    public static void main(String[] args) {
        SpringApplication.run(MyApplication.class, args);
    }
}